<%@page pageEncoding="UTF-8" %>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
    <title>完整demo</title>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
    <script type="text/javascript" charset="utf-8" src="ueditor/ueditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="ueditor/ueditor.all.min.js"></script>
    <script type="text/javascript" charset="utf-8" src="ueditor/lang/zh-cn/zh-cn.js"></script>

    <style type="text/css">
        div {
            width: 100%;
        }
    </style>
</head>
<body>
<div>
    <h1>完整demo</h1>
    <form action="ueditor.do" method="post">
        <script id="editor" name="content" type="text/plain" style="width:1024px;height:500px;"></script>
        <input type="submit" value="提交"/>
    </form>
</div>

<script type="text/javascript">
    var ue = UE.getEditor('editor');
</script>

</body>
</html>